package com.py.pythink.config;

public class SystemConfig {
    //统一结果的返回码
    public static final int R_OK=10000;
    public static final int R_FILE=10001;
    //生成短信验证位数
    public static final int CODE_LEN=6;

    //标记短信发送的类型
    public static final int SMS_TYPE_1=1;//注册验证码
    public static final int SMS_TYPE_2=2;//登陆
    public static final int SMS_TYPE_3=3;//找回

    //注册手机号的状态
    public static final  int USER_PHONE_1=1;//手机号有效
    public static final int USER_PHONE_2=2;//手机号无效

    //用户的标记位
    public static final int USER_OK=1;
    public static final int USER_FAIL=2;

    //操作状态
    public static final int USER_REGISTER=1;
    public static final int USER_LOGIN=2;
    public static final int USER_LOGINOUT=3;
    public static final int USER_FIND=4;

    //OSS访问地址的默认有效期
    public static final int OSS_URL_DAYS=30;//默认30天
    //Month一月按30天算
    public static final int MONTH_DAYS=30;//30天
    //记录令牌的请求消息头
    public static final String USER_TOKEN="usertoken";

    //记录用户信息的id的请求消息头
    public static final String USER_ID="userid";

    //记录oss存储的资源的类型
    public static final Integer OSS_1=1;//图片
    public static final Integer OSS_2=2;//视频
    public static final Integer OSS_3=3;//文档

    //房子估价—-房屋类型
    public static final String ASSESS_1="新房";//新房
    public static final String ASSESS_2="二手房";//旧房


    //记录用户点赞的状态
    public static final Integer USER_LIKE_POST=1; //已经点赞
    public static final Integer USER_LIKE_TPOST=0; //未点赞

    //记录登陆对发帖人关注的状态
    public static final Integer USER_ATTENTION_NO=0;
    public static final Integer USER_ATTENTION_YES=1;
    public static final Integer USER_ATTENTION_LOVE=2;//相互关注
    //房子装修的类型
    public static final Integer DECORATION_1=1;//精装
    public static final Integer DECORATION_2=2;//简装
    public static final Integer DECORATION_3=3;//毛坯

    //房子的类型
    public static final Integer TAPE_1=1;//新房
    public static final Integer TAPE_2=2;//二手房

    //户型
    public static final Integer HOUSETYPE_1=1;//一室一厅
    public static final Integer HOUSETYPE_2=2;//二室一厅
    public static final Integer HOUSETYPE_3=3;//三室一厅
    public static final Integer HOUSETYPE_4=4;//三室二厅
    public static final Integer HOUSETYPE_5=5;//其他

    //单价
    public static final Integer UNIVALENCE_1=1;//由低到高排序
    public static final Integer UNIVALENCE_2=2;//由高到低排序

    //小区开盘时间
    public static final Integer OPENTIME_1=1;//由远到近排序
    public static final Integer OPENTIME__2=2;//由近到远排序
}
